package org.javaongems.client.vcl;

import java.util.Map;

public interface ComponentReader {
	public Map getCargo();
	
	public void readRootContainer(String enc, Map cmpSpace, Container targ);
	public void setParent(Component parent);
	public void setComponent(Component component);
	
	public double readNumber();
	public boolean readBoolean();
	public String readString();
	public Object readNull();
	public PropertiesReader readProperties();
	
	public void readComponent();
	public Container getContainer();
	public Component getParent();
	public Component getComponent();
	public Map getComponentSpace();
	
	public void addDeferredReference(Component src, String componentName, Component component);
	public Component getDeferredReference(Component src, String componentName);
}
